function ed(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function td(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Es={exports:{}},hl={},Ps={exports:{}},T={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var lr=Symbol.for("react.element"),nd=Symbol.for("react.portal"),rd=Symbol.for("react.fragment"),ld=Symbol.for("react.strict_mode"),id=Symbol.for("react.profiler"),od=Symbol.for("react.provider"),ad=Symbol.for("react.context"),sd=Symbol.for("react.forward_ref"),ud=Symbol.for("react.suspense"),cd=Symbol.for("react.memo"),dd=Symbol.for("react.lazy"),ia=Symbol.iterator;function fd(e){return e===null||typeof e!="object"?null:(e=ia&&e[ia]||e["@@iterator"],typeof e=="function"?e:null)}var _s={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ls=Object.assign,zs={};function fn(e,t,n){this.props=e,this.context=t,this.refs=zs,this.updater=n||_s}fn.prototype.isReactComponent={};fn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};fn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Rs(){}Rs.prototype=fn.prototype;function ao(e,t,n){this.props=e,this.context=t,this.refs=zs,this.updater=n||_s}var so=ao.prototype=new Rs;so.constructor=ao;Ls(so,fn.prototype);so.isPureReactComponent=!0;var oa=Array.isArray,Ts=Object.prototype.hasOwnProperty,uo={current:null},Ms={key:!0,ref:!0,__self:!0,__source:!0};function Os(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Ts.call(t,r)&&!Ms.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1>>1,J=E[K];if(0>>1;Kl(Ol,R))Stl(dr,Ol)?(E[K]=dr,E[St]=R,K=St):(E[K]=Ol,E[kt]=R,K=kt);else if(Stl(dr,R))E[K]=dr,E[St]=R,K=St;else break e}}return z}function l(E,z){var R=E.sortIndex-z.sortIndex;return R!==0?R:E.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var s=[],c=[],m=1,h=null,v=3,y=!1,x=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(E){for(var z=n(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=E)r(c),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(c)}}function g(E){if(w=!1,p(E),!x)if(n(s)!==null)x=!0,Tl(S);else{var z=n(c);z!==null&&Ml(g,z.startTime-E)}}function S(E,z){x=!1,w&&(w=!1,f(L),L=-1),y=!0;var R=v;try{for(p(z),h=n(s);h!==null&&(!(h.expirationTime>z)||E&&!Le());){var K=h.callback;if(typeof K=="function"){h.callback=null,v=h.priorityLevel;var J=K(h.expirationTime<=z);z=e.unstable_now(),typeof J=="function"?h.callback=J:h===n(s)&&r(s),p(z)}else r(s);h=n(s)}if(h!==null)var cr=!0;else{var kt=n(c);kt!==null&&Ml(g,kt.startTime-z),cr=!1}return cr}finally{h=null,v=R,y=!1}}var P=!1,_=null,L=-1,H=5,M=-1;function Le(){return!(e.unstable_now()-ME||125K?(E.sortIndex=R,t(c,E),n(s)===null&&E===n(c)&&(w?(f(L),L=-1):w=!0,Ml(g,R-K))):(E.sortIndex=J,t(s,E),x||y||(x=!0,Tl(S))),E},e.unstable_shouldYield=Le,e.unstable_wrapCallback=function(E){var z=v;return function(){var R=v;v=z;try{return E.apply(this,arguments)}finally{v=R}}}})(Us);Ds.exports=Us;var jd=Ds.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Ed=C,we=jd;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fi=Object.prototype.hasOwnProperty,Pd=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,sa={},ua={};function _d(e){return fi.call(ua,e)?!0:fi.call(sa,e)?!1:Pd.test(e)?ua[e]=!0:(sa[e]=!0,!1)}function Ld(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function zd(e,t,n,r){if(t===null||typeof t>"u"||Ld(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function de(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){re[e]=new de(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];re[t]=new de(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){re[e]=new de(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){re[e]=new de(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){re[e]=new de(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){re[e]=new de(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){re[e]=new de(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){re[e]=new de(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){re[e]=new de(e,5,!1,e.toLowerCase(),null,!1,!1)});var fo=/[\-:]([a-z])/g;function po(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(fo,po);re[t]=new de(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(fo,po);re[t]=new de(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(fo,po);re[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){re[e]=new de(e,1,!1,e.toLowerCase(),null,!1,!1)});re.xlinkHref=new de("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){re[e]=new de(e,1,!1,e.toLowerCase(),null,!0,!0)});function ho(e,t,n,r){var l=re.hasOwnProperty(t)?re[t]:null;(l!==null?l.type!==0:r||!(2a||l[o]!==i[a]){var s=` `+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=a);break}}}finally{Al=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?En(e):""}function Rd(e){switch(e.tag){case 5:return En(e.type);case 16:return En("Lazy");case 13:return En("Suspense");case 19:return En("SuspenseList");case 0:case 2:case 15:return e=Dl(e.type,!1),e;case 11:return e=Dl(e.type.render,!1),e;case 1:return e=Dl(e.type,!0),e;default:return""}}function vi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $t:return"Fragment";case Bt:return"Portal";case pi:return"Profiler";case mo:return"StrictMode";case hi:return"Suspense";case mi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ws:return(e.displayName||"Context")+".Consumer";case $s:return(e._context.displayName||"Context")+".Provider";case vo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case go:return t=e.displayName||null,t!==null?t:vi(e.type)||"Memo";case et:t=e._payload,e=e._init;try{return vi(e(t))}catch{}}return null}function Td(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return vi(t);case 8:return t===mo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function vt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Md(e){var t=Hs(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function hr(e){e._valueTracker||(e._valueTracker=Md(e))}function Ks(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Hs(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function gi(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function da(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=vt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Qs(e,t){t=t.checked,t!=null&&ho(e,"checked",t,!1)}function yi(e,t){Qs(e,t);var n=vt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?xi(e,t.type,n):t.hasOwnProperty("defaultValue")&&xi(e,t.type,vt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function fa(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function xi(e,t,n){(t!=="number"||Vr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pn=Array.isArray;function qt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=mr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Bn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var zn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Od=["Webkit","ms","Moz","O"];Object.keys(zn).forEach(function(e){Od.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zn[t]=zn[e]})});function Zs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||zn.hasOwnProperty(e)&&zn[e]?(""+t).trim():t+"px"}function Js(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Zs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Id=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Si(e,t){if(t){if(Id[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function Ci(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ni=null;function yo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ji=null,bt=null,en=null;function ma(e){if(e=ar(e)){if(typeof ji!="function")throw Error(k(280));var t=e.stateNode;t&&(t=xl(t),ji(e.stateNode,e.type,t))}}function qs(e){bt?en?en.push(e):en=[e]:bt=e}function bs(){if(bt){var e=bt,t=en;if(en=bt=null,ma(e),t)for(e=0;e>>=0,e===0?32:31-(Qd(e)/Gd|0)|0}var vr=64,gr=4194304;function _n(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Gr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~l;a!==0?r=_n(a):(i&=o,i!==0&&(r=_n(i)))}else o=n&~l,o!==0?r=_n(o):i!==0&&(r=_n(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ir(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function Jd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Tn),Na=" ",ja=!1;function xu(e,t){switch(e){case"keyup":return Ef.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wt=!1;function _f(e,t){switch(e){case"compositionend":return wu(t);case"keypress":return t.which!==32?null:(ja=!0,Na);case"textInput":return e=t.data,e===Na&&ja?null:e;default:return null}}function Lf(e,t){if(Wt)return e==="compositionend"||!Eo&&xu(e,t)?(e=gu(),Mr=Co=lt=null,Wt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=La(n)}}function Nu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Nu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ju(){for(var e=window,t=Vr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vr(e.document)}return t}function Po(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Df(e){var t=ju(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Nu(n.ownerDocument.documentElement,n)){if(r!==null&&Po(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=za(n,i);var o=za(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Vt=null,Ri=null,On=null,Ti=!1;function Ra(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ti||Vt==null||Vt!==Vr(r)||(r=Vt,"selectionStart"in r&&Po(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),On&&Qn(On,r)||(On=r,r=Zr(Ri,"onSelect"),0Qt||(e.current=Di[Qt],Di[Qt]=null,Qt--)}function F(e,t){Qt++,Di[Qt]=e.current,e.current=t}var gt={},ae=xt(gt),he=xt(!1),zt=gt;function on(e,t){var n=e.type.contextTypes;if(!n)return gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function me(e){return e=e.childContextTypes,e!=null}function qr(){D(he),D(ae)}function Da(e,t,n){if(ae.current!==gt)throw Error(k(168));F(ae,t),F(he,n)}function Ou(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(k(108,Td(e)||"Unknown",l));return W({},n,r)}function br(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gt,zt=ae.current,F(ae,e),F(he,he.current),!0}function Ua(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=Ou(e,t,zt),r.__reactInternalMemoizedMergedChildContext=e,D(he),D(ae),F(ae,e)):D(he),F(he,n)}var He=null,wl=!1,ql=!1;function Iu(e){He===null?He=[e]:He.push(e)}function Zf(e){wl=!0,Iu(e)}function wt(){if(!ql&&He!==null){ql=!0;var e=0,t=I;try{var n=He;for(I=1;e>=o,l-=o,Ke=1<<32-Oe(t)+l|n<L?(H=_,_=null):H=_.sibling;var M=v(f,_,p[L],g);if(M===null){_===null&&(_=H);break}e&&_&&M.alternate===null&&t(f,_),d=i(M,d,L),P===null?S=M:P.sibling=M,P=M,_=H}if(L===p.length)return n(f,_),U&&Ct(f,L),S;if(_===null){for(;LL?(H=_,_=null):H=_.sibling;var Le=v(f,_,M.value,g);if(Le===null){_===null&&(_=H);break}e&&_&&Le.alternate===null&&t(f,_),d=i(Le,d,L),P===null?S=Le:P.sibling=Le,P=Le,_=H}if(M.done)return n(f,_),U&&Ct(f,L),S;if(_===null){for(;!M.done;L++,M=p.next())M=h(f,M.value,g),M!==null&&(d=i(M,d,L),P===null?S=M:P.sibling=M,P=M);return U&&Ct(f,L),S}for(_=r(f,_);!M.done;L++,M=p.next())M=y(_,f,L,M.value,g),M!==null&&(e&&M.alternate!==null&&_.delete(M.key===null?L:M.key),d=i(M,d,L),P===null?S=M:P.sibling=M,P=M);return e&&_.forEach(function(vn){return t(f,vn)}),U&&Ct(f,L),S}function N(f,d,p,g){if(typeof p=="object"&&p!==null&&p.type===$t&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case pr:e:{for(var S=p.key,P=d;P!==null;){if(P.key===S){if(S=p.type,S===$t){if(P.tag===7){n(f,P.sibling),d=l(P,p.props.children),d.return=f,f=d;break e}}else if(P.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===et&&Wa(S)===P.type){n(f,P.sibling),d=l(P,p.props),d.ref=Cn(f,P,p),d.return=f,f=d;break e}n(f,P);break}else t(f,P);P=P.sibling}p.type===$t?(d=Lt(p.props.children,f.mode,g,p.key),d.return=f,f=d):(g=$r(p.type,p.key,p.props,null,f.mode,g),g.ref=Cn(f,d,p),g.return=f,f=g)}return o(f);case Bt:e:{for(P=p.key;d!==null;){if(d.key===P)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(f,d.sibling),d=l(d,p.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=oi(p,f.mode,g),d.return=f,f=d}return o(f);case et:return P=p._init,N(f,d,P(p._payload),g)}if(Pn(p))return x(f,d,p,g);if(yn(p))return w(f,d,p,g);Nr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,p),d.return=f,f=d):(n(f,d),d=ii(p,f.mode,g),d.return=f,f=d),o(f)):n(f,d)}return N}var sn=Uu(!0),Bu=Uu(!1),nl=xt(null),rl=null,Xt=null,Ro=null;function To(){Ro=Xt=rl=null}function Mo(e){var t=nl.current;D(nl),e._currentValue=t}function $i(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function nn(e,t){rl=e,Ro=Xt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(pe=!0),e.firstContext=null)}function Pe(e){var t=e._currentValue;if(Ro!==e)if(e={context:e,memoizedValue:t,next:null},Xt===null){if(rl===null)throw Error(k(308));Xt=e,rl.dependencies={lanes:0,firstContext:e}}else Xt=Xt.next=e;return t}var Et=null;function Oo(e){Et===null?Et=[e]:Et.push(e)}function $u(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Oo(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ze(e,r)}function Ze(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var tt=!1;function Io(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Wu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ge(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function dt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,O&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ze(e,n)}return l=r.interleaved,l===null?(t.next=t,Oo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ze(e,n)}function Ir(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wo(e,n)}}function Va(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ll(e,t,n,r){var l=e.updateQueue;tt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var s=a,c=s.next;s.next=null,o===null?i=c:o.next=c,o=s;var m=e.alternate;m!==null&&(m=m.updateQueue,a=m.lastBaseUpdate,a!==o&&(a===null?m.firstBaseUpdate=c:a.next=c,m.lastBaseUpdate=s))}if(i!==null){var h=l.baseState;o=0,m=c=s=null,a=i;do{var v=a.lane,y=a.eventTime;if((r&v)===v){m!==null&&(m=m.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,w=a;switch(v=t,y=n,w.tag){case 1:if(x=w.payload,typeof x=="function"){h=x.call(y,h,v);break e}h=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=w.payload,v=typeof x=="function"?x.call(y,h,v):x,v==null)break e;h=W({},h,v);break e;case 2:tt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[a]:v.push(a))}else y={eventTime:y,lane:v,tag:a.tag,payload:a.payload,callback:a.callback,next:null},m===null?(c=m=y,s=h):m=m.next=y,o|=v;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;v=a,a=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(m===null&&(s=h),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=m,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Mt|=o,e.lanes=o,e.memoizedState=h}}function Ha(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ei.transition;ei.transition={};try{e(!1),t()}finally{I=n,ei.transition=r}}function ic(){return _e().memoizedState}function ep(e,t,n){var r=pt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oc(e))ac(t,n);else if(n=$u(e,t,n,r),n!==null){var l=ue();Ie(n,e,r,l),sc(n,t,r)}}function tp(e,t,n){var r=pt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oc(e))ac(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(l.hasEagerState=!0,l.eagerState=a,Fe(a,o)){var s=t.interleaved;s===null?(l.next=l,Oo(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=$u(e,t,l,r),n!==null&&(l=ue(),Ie(n,e,r,l),sc(n,t,r))}}function oc(e){var t=e.alternate;return e===$||t!==null&&t===$}function ac(e,t){In=ol=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wo(e,n)}}var al={readContext:Pe,useCallback:le,useContext:le,useEffect:le,useImperativeHandle:le,useInsertionEffect:le,useLayoutEffect:le,useMemo:le,useReducer:le,useRef:le,useState:le,useDebugValue:le,useDeferredValue:le,useTransition:le,useMutableSource:le,useSyncExternalStore:le,useId:le,unstable_isNewReconciler:!1},np={readContext:Pe,useCallback:function(e,t){return De().memoizedState=[e,t===void 0?null:t],e},useContext:Pe,useEffect:Qa,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ar(4194308,4,ec.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ar(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ar(4,2,e,t)},useMemo:function(e,t){var n=De();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=De();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ep.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var t=De();return e={current:e},t.memoizedState=e},useState:Ka,useDebugValue:Vo,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=Ka(!1),t=e[0];return e=bf.bind(null,e[1]),De().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=$,l=De();if(U){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),b===null)throw Error(k(349));Tt&30||Qu(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Qa(Yu.bind(null,r,i,e),[e]),r.flags|=2048,er(9,Gu.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=De(),t=b.identifierPrefix;if(U){var n=Qe,r=Ke;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ue]=t,e[Xn]=r,yc(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ci(n,r),n){case"dialog":A("cancel",e),A("close",e),l=r;break;case"iframe":case"object":case"embed":A("load",e),l=r;break;case"video":case"audio":for(l=0;ldn&&(t.flags|=128,r=!0,Nn(i,!1),t.lanes=4194304)}else{if(!r)if(e=il(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Nn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!U)return ie(t),null}else 2*Q()-i.renderingStartTime>dn&&n!==1073741824&&(t.flags|=128,r=!0,Nn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Q(),t.sibling=null,n=B.current,F(B,r?n&1|2:n&1),t):(ie(t),null);case 22:case 23:return Xo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ge&1073741824&&(ie(t),t.subtreeFlags&6&&(t.flags|=8192)):ie(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function cp(e,t){switch(Lo(t),t.tag){case 1:return me(t.type)&&qr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return un(),D(he),D(ae),Do(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ao(t),null;case 13:if(D(B),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));an()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return D(B),null;case 4:return un(),null;case 10:return Mo(t.type._context),null;case 22:case 23:return Xo(),null;case 24:return null;default:return null}}var Er=!1,oe=!1,dp=typeof WeakSet=="function"?WeakSet:Set,j=null;function Zt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){V(e,t,r)}else n.current=null}function Zi(e,t,n){try{n()}catch(r){V(e,t,r)}}var rs=!1;function fp(e,t){if(Mi=Yr,e=ju(),Po(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,s=-1,c=0,m=0,h=e,v=null;t:for(;;){for(var y;h!==n||l!==0&&h.nodeType!==3||(a=o+l),h!==i||r!==0&&h.nodeType!==3||(s=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(y=h.firstChild)!==null;)v=h,h=y;for(;;){if(h===e)break t;if(v===n&&++c===l&&(a=o),v===i&&++m===r&&(s=o),(y=h.nextSibling)!==null)break;h=v,v=h.parentNode}h=y}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Oi={focusedElem:e,selectionRange:n},Yr=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var w=x.memoizedProps,N=x.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:Re(t.type,w),N);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(g){V(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return x=rs,rs=!1,x}function Fn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Zi(t,n,i)}l=l.next}while(l!==r)}}function Cl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ji(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function kc(e){var t=e.alternate;t!==null&&(e.alternate=null,kc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[Xn],delete t[Ai],delete t[Yf],delete t[Xf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Sc(e){return e.tag===5||e.tag===3||e.tag===4}function ls(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Sc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function qi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Jr));else if(r!==4&&(e=e.child,e!==null))for(qi(e,t,n),e=e.sibling;e!==null;)qi(e,t,n),e=e.sibling}function bi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(bi(e,t,n),e=e.sibling;e!==null;)bi(e,t,n),e=e.sibling}var te=null,Te=!1;function be(e,t,n){for(n=n.child;n!==null;)Cc(e,t,n),n=n.sibling}function Cc(e,t,n){if(Be&&typeof Be.onCommitFiberUnmount=="function")try{Be.onCommitFiberUnmount(ml,n)}catch{}switch(n.tag){case 5:oe||Zt(n,t);case 6:var r=te,l=Te;te=null,be(e,t,n),te=r,Te=l,te!==null&&(Te?(e=te,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):te.removeChild(n.stateNode));break;case 18:te!==null&&(Te?(e=te,n=n.stateNode,e.nodeType===8?Jl(e.parentNode,n):e.nodeType===1&&Jl(e,n),Hn(e)):Jl(te,n.stateNode));break;case 4:r=te,l=Te,te=n.stateNode.containerInfo,Te=!0,be(e,t,n),te=r,Te=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Zi(n,t,o),l=l.next}while(l!==r)}be(e,t,n);break;case 1:if(!oe&&(Zt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){V(n,t,a)}be(e,t,n);break;case 21:be(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,be(e,t,n),oe=r):be(e,t,n);break;default:be(e,t,n)}}function is(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new dp),t.forEach(function(r){var l=kp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hp(r/1960))-r,10e?16:e,it===null)var r=!1;else{if(e=it,it=null,cl=0,O&6)throw Error(k(331));var l=O;for(O|=4,j=e.current;j!==null;){var i=j,o=i.child;if(j.flags&16){var a=i.deletions;if(a!==null){for(var s=0;sQ()-Go?_t(e,0):Qo|=n),ve(e,t)}function Rc(e,t){t===0&&(e.mode&1?(t=gr,gr<<=1,!(gr&130023424)&&(gr=4194304)):t=1);var n=ue();e=Ze(e,t),e!==null&&(ir(e,t,n),ve(e,n))}function wp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Rc(e,n)}function kp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),Rc(e,n)}var Tc;Tc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||he.current)pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return pe=!1,sp(e,t,n);pe=!!(e.flags&131072)}else pe=!1,U&&t.flags&1048576&&Fu(t,tl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Dr(e,t),e=t.pendingProps;var l=on(t,ae.current);nn(t,n),l=Bo(null,t,r,e,l,n);var i=$o();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,me(r)?(i=!0,br(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Io(t),l.updater=Sl,t.stateNode=l,l._reactInternals=t,Vi(t,r,e,n),t=Qi(null,t,r,!0,i,n)):(t.tag=0,U&&i&&_o(t),se(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Dr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Cp(r),e=Re(r,e),l){case 0:t=Ki(null,t,r,e,n);break e;case 1:t=es(null,t,r,e,n);break e;case 11:t=qa(null,t,r,e,n);break e;case 14:t=ba(null,t,r,Re(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Ki(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),es(e,t,r,l,n);case 3:e:{if(mc(t),e===null)throw Error(k(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Wu(e,t),ll(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=cn(Error(k(423)),t),t=ts(e,t,r,n,l);break e}else if(r!==l){l=cn(Error(k(424)),t),t=ts(e,t,r,n,l);break e}else for(ye=ct(t.stateNode.containerInfo.firstChild),xe=t,U=!0,Me=null,n=Bu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(an(),r===l){t=Je(e,t,n);break e}se(e,t,r,n)}t=t.child}return t;case 5:return Vu(t),e===null&&Bi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Ii(r,l)?o=null:i!==null&&Ii(r,i)&&(t.flags|=32),hc(e,t),se(e,t,o,n),t.child;case 6:return e===null&&Bi(t),null;case 13:return vc(e,t,n);case 4:return Fo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=sn(t,null,r,n):se(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),qa(e,t,r,l,n);case 7:return se(e,t,t.pendingProps,n),t.child;case 8:return se(e,t,t.pendingProps.children,n),t.child;case 12:return se(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,F(nl,r._currentValue),r._currentValue=o,i!==null)if(Fe(i.value,o)){if(i.children===l.children&&!he.current){t=Je(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ge(-1,n&-n),s.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),$i(i.return,n,t),a.lanes|=n;break}s=s.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(k(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),$i(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}se(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,nn(t,n),l=Pe(l),r=r(l),t.flags|=1,se(e,t,r,n),t.child;case 14:return r=t.type,l=Re(r,t.pendingProps),l=Re(r.type,l),ba(e,t,r,l,n);case 15:return fc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Dr(e,t),t.tag=1,me(r)?(e=!0,br(t)):e=!1,nn(t,n),uc(t,r,l),Vi(t,r,l,n),Qi(null,t,r,!0,e,n);case 19:return gc(e,t,n);case 22:return pc(e,t,n)}throw Error(k(156,t.tag))};function Mc(e,t){return ou(e,t)}function Sp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(e,t,n,r){return new Sp(e,t,n,r)}function Jo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Cp(e){if(typeof e=="function")return Jo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vo)return 11;if(e===go)return 14}return 2}function ht(e,t){var n=e.alternate;return n===null?(n=je(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function $r(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Jo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case $t:return Lt(n.children,l,i,t);case mo:o=8,l|=8;break;case pi:return e=je(12,n,t,l|2),e.elementType=pi,e.lanes=i,e;case hi:return e=je(13,n,t,l),e.elementType=hi,e.lanes=i,e;case mi:return e=je(19,n,t,l),e.elementType=mi,e.lanes=i,e;case Vs:return jl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $s:o=10;break e;case Ws:o=9;break e;case vo:o=11;break e;case go:o=14;break e;case et:o=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=je(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Lt(e,t,n,r){return e=je(7,e,r,t),e.lanes=n,e}function jl(e,t,n,r){return e=je(22,e,r,t),e.elementType=Vs,e.lanes=n,e.stateNode={isHidden:!1},e}function ii(e,t,n){return e=je(6,e,null,t),e.lanes=n,e}function oi(e,t,n){return t=je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Np(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Bl(0),this.expirationTimes=Bl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function qo(e,t,n,r,l,i,o,a,s){return e=new Np(e,t,n,a,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=je(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Io(i),e}function jp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ac)}catch(e){console.error(e)}}Ac(),As.exports=ke;var zp=As.exports,Dc,ps=zp;Dc=ps.createRoot,ps.hydrateRoot;/** * @remix-run/router v1.23.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function nr(){return nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Uc(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Tp(){return Math.random().toString(36).substr(2,8)}function ms(e,t){return{usr:e.state,key:e.key,idx:t}}function lo(e,t,n,r){return n===void 0&&(n=null),nr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?mn(t):t,{state:n,key:t&&t.key||r||Tp()})}function pl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function mn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Mp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,a=ot.Pop,s=null,c=m();c==null&&(c=0,o.replaceState(nr({},o.state,{idx:c}),""));function m(){return(o.state||{idx:null}).idx}function h(){a=ot.Pop;let N=m(),f=N==null?null:N-c;c=N,s&&s({action:a,location:w.location,delta:f})}function v(N,f){a=ot.Push;let d=lo(w.location,N,f);c=m()+1;let p=ms(d,c),g=w.createHref(d);try{o.pushState(p,"",g)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;l.location.assign(g)}i&&s&&s({action:a,location:w.location,delta:1})}function y(N,f){a=ot.Replace;let d=lo(w.location,N,f);c=m();let p=ms(d,c),g=w.createHref(d);o.replaceState(p,"",g),i&&s&&s({action:a,location:w.location,delta:0})}function x(N){let f=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof N=="string"?N:pl(N);return d=d.replace(/ $/,"%20"),Y(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let w={get action(){return a},get location(){return e(l,o)},listen(N){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(hs,h),s=N,()=>{l.removeEventListener(hs,h),s=null}},createHref(N){return t(l,N)},createURL:x,encodeLocation(N){let f=x(N);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:v,replace:y,go(N){return o.go(N)}};return w}var vs;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(vs||(vs={}));function Op(e,t,n){return n===void 0&&(n="/"),Ip(e,t,n)}function Ip(e,t,n,r){let l=typeof t=="string"?mn(t):t,i=na(l.pathname||"/",n);if(i==null)return null;let o=Bc(e);Fp(o);let a=null;for(let s=0;a==null&&s{let s={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};s.relativePath.startsWith("/")&&(Y(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let c=mt([r,s.relativePath]),m=n.concat(s);i.children&&i.children.length>0&&(Y(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Bc(i.children,t,m,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:Vp(c,i.index),routesMeta:m})};return e.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))l(i,o);else for(let s of $c(i.path))l(i,o,s)}),t}function $c(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=$c(r.join("/")),a=[];return a.push(...o.map(s=>s===""?i:[i,s].join("/"))),l&&a.push(...o),a.map(s=>e.startsWith("/")&&s===""?"/":s)}function Fp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Hp(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Ap=/^:[\w-]+$/,Dp=3,Up=2,Bp=1,$p=10,Wp=-2,gs=e=>e==="*";function Vp(e,t){let n=e.split("/"),r=n.length;return n.some(gs)&&(r+=Wp),t&&(r+=Up),n.filter(l=>!gs(l)).reduce((l,i)=>l+(Ap.test(i)?Dp:i===""?Bp:$p),r)}function Hp(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Kp(e,t,n){let{routesMeta:r}=e,l={},i="/",o=[];for(let a=0;a{let{paramName:v,isOptional:y}=m;if(v==="*"){let w=a[h]||"";o=i.slice(0,i.length-w.length).replace(/(.)\/+$/,"$1")}const x=a[h];return y&&!x?c[v]=void 0:c[v]=(x||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:o,pattern:e}}function Gp(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Uc(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,s)=>(r.push({paramName:a,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Yp(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Uc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function na(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Xp(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?mn(e):e;return{pathname:n?n.startsWith("/")?n:Zp(n,t):t,search:bp(r),hash:eh(l)}}function Zp(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function ai(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Jp(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Wc(e,t){let n=Jp(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Vc(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=mn(e):(l=nr({},e),Y(!l.pathname||!l.pathname.includes("?"),ai("?","pathname","search",l)),Y(!l.pathname||!l.pathname.includes("#"),ai("#","pathname","hash",l)),Y(!l.search||!l.search.includes("#"),ai("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,a;if(o==null)a=n;else{let h=t.length-1;if(!r&&o.startsWith("..")){let v=o.split("/");for(;v[0]==="..";)v.shift(),h-=1;l.pathname=v.join("/")}a=h>=0?t[h]:"/"}let s=Xp(l,a),c=o&&o!=="/"&&o.endsWith("/"),m=(i||o===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(c||m)&&(s.pathname+="/"),s}const mt=e=>e.join("/").replace(/\/\/+/g,"/"),qp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),bp=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,eh=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function th(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Hc=["post","put","patch","delete"];new Set(Hc);const nh=["get",...Hc];new Set(nh);/** * React Router v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),C.useCallback(function(c,m){if(m===void 0&&(m={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let h=Vc(c,JSON.parse(o),i,m.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:mt([t,h.pathname])),(m.replace?r.replace:r.push)(h,m.state,m)},[t,r,o,i,e])}function Gc(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=C.useContext(At),{matches:l}=C.useContext(Dt),{pathname:i}=Rl(),o=JSON.stringify(Wc(l,r.v7_relativeSplatPath));return C.useMemo(()=>Vc(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function ah(e,t){return sh(e,t)}function sh(e,t,n,r){ur()||Y(!1);let{navigator:l}=C.useContext(At),{matches:i}=C.useContext(Dt),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let c=Rl(),m;if(t){var h;let N=typeof t=="string"?mn(t):t;s==="/"||(h=N.pathname)!=null&&h.startsWith(s)||Y(!1),m=N}else m=c;let v=m.pathname||"/",y=v;if(s!=="/"){let N=s.replace(/^\//,"").split("/");y="/"+v.replace(/^\//,"").split("/").slice(N.length).join("/")}let x=Op(e,{pathname:y}),w=ph(x&&x.map(N=>Object.assign({},N,{params:Object.assign({},a,N.params),pathname:mt([s,l.encodeLocation?l.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?s:mt([s,l.encodeLocation?l.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),i,n,r);return t&&w?C.createElement(zl.Provider,{value:{location:rr({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:ot.Pop}},w):w}function uh(){let e=gh(),t=th(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:l},n):null,null)}const ch=C.createElement(uh,null);class dh extends C.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?C.createElement(Dt.Provider,{value:this.props.routeContext},C.createElement(Kc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function fh(e){let{routeContext:t,match:n,children:r}=e,l=C.useContext(ra);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement(Dt.Provider,{value:t},r)}function ph(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(l=n)==null?void 0:l.errors;if(a!=null){let m=o.findIndex(h=>h.route.id&&(a==null?void 0:a[h.route.id])!==void 0);m>=0||Y(!1),o=o.slice(0,Math.min(o.length,m+1))}let s=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let m=0;m=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((m,h,v)=>{let y,x=!1,w=null,N=null;n&&(y=a&&h.route.id?a[h.route.id]:void 0,w=h.route.errorElement||ch,s&&(c<0&&v===0?(xh("route-fallback"),x=!0,N=null):c===v&&(x=!0,N=h.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,v+1)),d=()=>{let p;return y?p=w:x?p=N:h.route.Component?p=C.createElement(h.route.Component,null):h.route.element?p=h.route.element:p=m,C.createElement(fh,{match:h,routeContext:{outlet:m,matches:f,isDataRoute:n!=null},children:p})};return n&&(h.route.ErrorBoundary||h.route.errorElement||v===0)?C.createElement(dh,{location:n.location,revalidation:n.revalidation,component:w,error:y,children:d(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):d()},null)}var Yc=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Yc||{}),Xc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Xc||{});function hh(e){let t=C.useContext(ra);return t||Y(!1),t}function mh(e){let t=C.useContext(rh);return t||Y(!1),t}function vh(e){let t=C.useContext(Dt);return t||Y(!1),t}function Zc(e){let t=vh(),n=t.matches[t.matches.length-1];return n.route.id||Y(!1),n.route.id}function gh(){var e;let t=C.useContext(Kc),n=mh(),r=Zc();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function yh(){let{router:e}=hh(Yc.UseNavigateStable),t=Zc(Xc.UseNavigateStable),n=C.useRef(!1);return Qc(()=>{n.current=!0}),C.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,rr({fromRouteId:t},i)))},[e,t])}const ys={};function xh(e,t,n){ys[e]||(ys[e]=!0)}function wh(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Wr(e){Y(!1)}function kh(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ot.Pop,navigator:i,static:o=!1,future:a}=e;ur()&&Y(!1);let s=t.replace(/^\/*/,"/"),c=C.useMemo(()=>({basename:s,navigator:i,static:o,future:rr({v7_relativeSplatPath:!1},a)}),[s,a,i,o]);typeof r=="string"&&(r=mn(r));let{pathname:m="/",search:h="",hash:v="",state:y=null,key:x="default"}=r,w=C.useMemo(()=>{let N=na(m,s);return N==null?null:{location:{pathname:N,search:h,hash:v,state:y,key:x},navigationType:l}},[s,m,h,v,y,x,l]);return w==null?null:C.createElement(At.Provider,{value:c},C.createElement(zl.Provider,{children:n,value:w}))}function Sh(e){let{children:t,location:n}=e;return ah(io(t),n)}new Promise(()=>{});function io(e,t){t===void 0&&(t=[]);let n=[];return C.Children.forEach(e,(r,l)=>{if(!C.isValidElement(r))return;let i=[...t,l];if(r.type===C.Fragment){n.push.apply(n,io(r.props.children,i));return}r.type!==Wr&&Y(!1),!r.props.index||!r.props.children||Y(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=io(r.props.children,i)),n.push(o)}),n}/** * React Router DOM v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function oo(){return oo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function Nh(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function jh(e,t){return e.button===0&&(!t||t==="_self")&&!Nh(e)}const Eh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Ph="6";try{window.__reactRouterVersion=Ph}catch{}const _h="startTransition",xs=yd[_h];function Lh(e){let{basename:t,children:n,future:r,window:l}=e,i=C.useRef();i.current==null&&(i.current=Rp({window:l,v5Compat:!0}));let o=i.current,[a,s]=C.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},m=C.useCallback(h=>{c&&xs?xs(()=>s(h)):s(h)},[s,c]);return C.useLayoutEffect(()=>o.listen(m),[o,m]),C.useEffect(()=>wh(r),[r]),C.createElement(kh,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const zh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Rh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Jc=C.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:a,target:s,to:c,preventScrollReset:m,viewTransition:h}=t,v=Ch(t,Eh),{basename:y}=C.useContext(At),x,w=!1;if(typeof c=="string"&&Rh.test(c)&&(x=c,zh))try{let p=new URL(window.location.href),g=c.startsWith("//")?new URL(p.protocol+c):new URL(c),S=na(g.pathname,y);g.origin===p.origin&&S!=null?c=S+g.search+g.hash:w=!0}catch{}let N=lh(c,{relative:l}),f=Th(c,{replace:o,state:a,target:s,preventScrollReset:m,relative:l,viewTransition:h});function d(p){r&&r(p),p.defaultPrevented||f(p)}return C.createElement("a",oo({},v,{href:x||N,onClick:w||i?r:d,ref:n,target:s}))});var ws;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ws||(ws={}));var ks;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ks||(ks={}));function Th(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,viewTransition:a}=t===void 0?{}:t,s=ih(),c=Rl(),m=Gc(e,{relative:o});return C.useCallback(h=>{if(jh(h,n)){h.preventDefault();let v=r!==void 0?r:pl(c)===pl(m);s(e,{replace:v,state:l,preventScrollReset:i,relative:o,viewTransition:a})}},[c,s,m,r,l,n,e,i,o,a])}/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Mh=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),qc=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var Oh={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ih=C.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:l="",children:i,iconNode:o,...a},s)=>C.createElement("svg",{ref:s,...Oh,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:qc("lucide",l),...a},[...o.map(([c,m])=>C.createElement(c,m)),...Array.isArray(i)?i:[i]]));/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ee=(e,t)=>{const n=C.forwardRef(({className:r,...l},i)=>C.createElement(Ih,{ref:i,iconNode:t,className:qc(`lucide-${Mh(e)}`,r),...l}));return n.displayName=`${e}`,n};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Fh=ee("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ah=ee("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ss=ee("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const si=ee("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Dh=ee("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Uh=ee("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Cs=ee("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Bh=ee("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $h=ee("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ns=ee("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wh=ee("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Vh=ee("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ui=ee("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ci=ee("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Hh=ee("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Kh=ee("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Lr=ee("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Qh=ee("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Gh(){const[e,t]=C.useState(!1);return u.jsxs("header",{className:"bg-brand-navy border-b border-white/10 sticky top-0 z-50",children:[u.jsx("div",{className:"section-container",children:u.jsxs("div",{className:"flex items-center justify-between h-16 lg:h-20",children:[u.jsx(Jc,{to:"/",className:"flex items-center gap-3",children:u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsx("div",{className:"w-8 h-8 bg-brand-gold rounded-sm flex items-center justify-center",children:u.jsx("span",{className:"text-white font-bold text-sm font-inter",children:"A"})}),u.jsxs("div",{children:[u.jsx("div",{className:"text-white font-bold text-base font-inter leading-tight tracking-wide",children:"ALMANZA"}),u.jsx("div",{className:"text-brand-gold text-[10px] font-tajawal tracking-widest uppercase font-medium",children:"Investment Company KSCC"})]})]})}),u.jsx("nav",{className:"hidden lg:flex items-center gap-8",children:[{label:"About",href:"/about"},{label:"Clients",href:"/clients",active:!0},{label:"Services",href:"/services"},{label:"Investments",href:"/investments"},{label:"Investor Relations",href:"/investor-relations"},{label:"Contact",href:"/contact"}].map(n=>u.jsx("a",{href:n.href,className:`text-sm font-medium tracking-wide transition-colors duration-150 ${n.active?"text-brand-gold border-b border-brand-gold pb-0.5":"text-white/80 hover:text-white"}`,children:n.label},n.label))}),u.jsx("div",{className:"hidden lg:flex items-center gap-4",children:u.jsx("a",{href:"/contact/schedule-consultation",className:"btn-gold text-xs px-5 py-2.5",children:"Schedule Consultation"})}),u.jsx("button",{className:"lg:hidden text-white p-2 min-w-[44px] min-h-[44px] flex items-center justify-center",onClick:()=>t(!e),"aria-label":"Toggle navigation",children:e?u.jsx(Qh,{size:22}):u.jsx(Vh,{size:22})})]})}),e&&u.jsx("div",{className:"lg:hidden bg-brand-navy-light border-t border-white/10",children:u.jsxs("div",{className:"section-container py-4 flex flex-col gap-1",children:[[{label:"About",href:"/about"},{label:"Clients",href:"/clients"},{label:"Services",href:"/services"},{label:"Investments",href:"/investments"},{label:"Investor Relations",href:"/investor-relations"},{label:"Contact",href:"/contact"}].map(n=>u.jsx("a",{href:n.href,className:"text-white/80 hover:text-white text-sm py-3 px-2 border-b border-white/5 last:border-0",children:n.label},n.label)),u.jsx("a",{href:"/contact/schedule-consultation",className:"btn-gold mt-3 text-center text-xs",children:"Schedule Consultation"})]})})]})}function Yh(){const e=new Date().getFullYear();return u.jsxs("footer",{className:"bg-brand-navy gold-top-border",children:[u.jsx("div",{className:"section-container py-12",children:u.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-10",children:[u.jsxs("div",{className:"lg:col-span-1",children:[u.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[u.jsx("div",{className:"w-8 h-8 bg-brand-gold rounded-sm flex items-center justify-center",children:u.jsx("span",{className:"text-white font-bold text-sm",children:"A"})}),u.jsxs("div",{children:[u.jsx("div",{className:"text-white font-bold text-sm font-inter",children:"ALMANZA"}),u.jsx("div",{className:"text-brand-gold text-[10px] font-tajawal",children:"شركة المانزا للاستثمار"})]})]}),u.jsxs("p",{className:"text-white/60 text-xs leading-relaxed font-inter",children:["Almanza Investment Company KSCC",u.jsx("br",{}),"Kuwait City, State of Kuwait"]}),u.jsx("p",{className:"text-white/60 text-xs leading-relaxed font-tajawal text-right mt-3 arabic-text",children:"شركة ألمانزا للاستثمار — شركة كويتية مساهمة مقفلة"})]}),u.jsxs("div",{children:[u.jsx("h4",{className:"text-brand-gold font-semibold text-xs uppercase tracking-widest mb-4",children:"Services / الخدمات"}),u.jsx("ul",{className:"space-y-2.5",children:["Family Office Advisory","Wealth Management","Succession Planning","Family Governance","Shari'a-Compliant Solutions","Waqf & Philanthropy"].map(t=>u.jsx("li",{children:u.jsx("a",{href:"/services",className:"text-white/60 hover:text-brand-gold text-xs transition-colors duration-150 font-inter",children:t})},t))})]}),u.jsxs("div",{children:[u.jsx("h4",{className:"text-brand-gold font-semibold text-xs uppercase tracking-widest mb-4",children:"Clients / العملاء"}),u.jsx("ul",{className:"space-y-2.5",children:["Family Offices","Sovereign Wealth Funds","Institutional Investors","Corporate Clients","Government Entities"].map(t=>u.jsx("li",{children:u.jsx("a",{href:"/clients",className:"text-white/60 hover:text-brand-gold text-xs transition-colors duration-150 font-inter",children:t})},t))})]}),u.jsxs("div",{children:[u.jsx("h4",{className:"text-brand-gold font-semibold text-xs uppercase tracking-widest mb-4",children:"Regulatory / تنظيمي"}),u.jsxs("div",{className:"space-y-3",children:[u.jsx("div",{className:"reg-badge text-[10px] block w-fit",children:"CMA Kuwait Licensed"}),u.jsx("div",{className:"reg-badge text-[10px] block w-fit",children:"CBK Regulated"}),u.jsx("div",{className:"reg-badge text-[10px] block w-fit",children:"Shari'a Compliant"}),u.jsx("div",{className:"reg-badge text-[10px] block w-fit",children:"Ministry of Commerce"})]}),u.jsx("p",{className:"text-white/40 text-[10px] mt-4 leading-relaxed font-inter",children:"Annual Report and Investor Relations disclosures available on request."})]})]})}),u.jsx("div",{className:"border-t border-white/10",children:u.jsxs("div",{className:"section-container py-5",children:[u.jsxs("p",{className:"text-white/40 text-[11px] leading-relaxed font-inter max-w-4xl",children:[u.jsx("strong",{className:"text-white/60",children:"Regulatory Disclaimer:"})," Almanza Investment Company KSCC is incorporated in the State of Kuwait and licensed by the Capital Markets Authority of Kuwait (CMA). Regulated by the Central Bank of Kuwait (CBK) where applicable, and registered with the Kuwait Ministry of Commerce and Industry. All investments involve risk. Past performance is not indicative of future results. This page is for informational purposes only and does not constitute an offer or solicitation."]}),u.jsx("p",{className:"text-white/40 text-[11px] leading-relaxed font-tajawal arabic-text mt-2 max-w-4xl",children:"تنبيه تنظيمي: شركة ألمانزا للاستثمار شركة كويتية مساهمة مقفلة، مرخصة من هيئة أسواق المال الكويتية وخاضعة لإشراف بنك الكويت المركزي. جميع الاستثمارات تنطوي على مخاطر. الأداء السابق لا يُعدّ مؤشراً على الأداء المستقبلي."})]})}),u.jsx("div",{className:"border-t border-white/5",children:u.jsxs("div",{className:"section-container py-4 flex flex-col sm:flex-row items-center justify-between gap-2",children:[u.jsxs("p",{className:"text-white/30 text-[11px] font-inter",children:["© ",e," Almanza Investment Company KSCC. All rights reserved."]}),u.jsxs("div",{className:"flex items-center gap-4",children:[u.jsx("a",{href:"/privacy",className:"text-white/30 hover:text-white/60 text-[11px] font-inter transition-colors",children:"Privacy Policy"}),u.jsx("a",{href:"/terms",className:"text-white/30 hover:text-white/60 text-[11px] font-inter transition-colors",children:"Terms of Use"}),u.jsx("a",{href:"/investor-relations",className:"text-white/30 hover:text-white/60 text-[11px] font-inter transition-colors",children:"Investor Relations"})]})]})})]})}function Xh(){const e=[{id:"kuwait",label:"Kuwait",note:"HQ",path:"M 280 185 L 300 178 L 315 182 L 318 195 L 310 205 L 295 208 L 280 200 Z",active:!0},{id:"saudi",label:"Saudi Arabia",path:"M 170 200 L 310 200 L 330 240 L 340 300 L 300 380 L 240 420 L 180 390 L 140 340 L 130 280 L 150 240 Z",active:!0},{id:"uae",label:"UAE",path:"M 345 300 L 400 270 L 430 285 L 420 320 L 395 335 L 365 330 Z",active:!0},{id:"qatar",label:"Qatar",path:"M 330 245 L 345 235 L 355 245 L 350 270 L 335 272 Z",active:!0},{id:"oman",label:"Oman",path:"M 400 270 L 450 230 L 480 260 L 470 320 L 440 360 L 400 340 L 380 310 Z",active:!0},{id:"bahrain",label:"Bahrain",path:"M 325 228 L 332 222 L 337 228 L 334 238 L 327 238 Z",active:!0}];return u.jsx("div",{className:"w-full",children:u.jsxs("svg",{viewBox:"80 140 450 320",className:"w-full h-auto max-h-72",xmlns:"http://www.w3.org/2000/svg",children:[u.jsx("rect",{x:"80",y:"140",width:"450",height:"320",fill:"#EEF4FA",rx:"4"}),e.map(t=>u.jsx("g",{children:u.jsx("path",{d:t.path,fill:t.active?"#0A2540":"#D0DAE6",stroke:"#FFFFFF",strokeWidth:"1.5",opacity:t.active?1:.5,className:"transition-opacity duration-200 hover:opacity-80"})},t.id)),u.jsx("circle",{cx:"297",cy:"193",r:"5",fill:"#C6A142"}),u.jsx("text",{x:"310",y:"185",fontSize:"8",fill:"#0A2540",fontWeight:"bold",fontFamily:"Inter, sans-serif",children:"Kuwait ★"}),u.jsx("text",{x:"210",y:"310",fontSize:"7",fill:"#F8FAFE",fontFamily:"Inter, sans-serif",textAnchor:"middle",fontWeight:"600",children:"Saudi Arabia"}),u.jsx("text",{x:"390",y:"308",fontSize:"7",fill:"#F8FAFE",fontFamily:"Inter, sans-serif",textAnchor:"middle",fontWeight:"600",children:"UAE"}),u.jsx("text",{x:"343",y:"260",fontSize:"6",fill:"#F8FAFE",fontFamily:"Inter, sans-serif",textAnchor:"middle",fontWeight:"600",children:"Qatar"}),u.jsx("text",{x:"330",y:"228",fontSize:"5.5",fill:"#F8FAFE",fontFamily:"Inter, sans-serif",textAnchor:"middle",fontWeight:"600",children:"BH"}),u.jsx("text",{x:"435",y:"305",fontSize:"7",fill:"#F8FAFE",fontFamily:"Inter, sans-serif",textAnchor:"middle",fontWeight:"600",children:"Oman"}),u.jsx("rect",{x:"88",y:"430",width:"10",height:"10",fill:"#0A2540",rx:"1"}),u.jsx("text",{x:"102",y:"439",fontSize:"7",fill:"#4A5B6E",fontFamily:"Inter, sans-serif",children:"Active Coverage"}),u.jsx("circle",{cx:"94",cy:"449",r:"3",fill:"#C6A142"}),u.jsx("text",{x:"102",y:"452",fontSize:"7",fill:"#4A5B6E",fontFamily:"Inter, sans-serif",children:"Headquarters"})]})})}function di({icon:e}){return u.jsx("div",{className:"w-11 h-11 rounded-sm bg-brand-gold/10 border border-brand-gold/30 flex items-center justify-center mb-4",children:u.jsx(e,{size:20,className:"text-brand-gold"})})}function We({en:e,ar:t}){return u.jsxs("div",{children:[u.jsx("div",{className:"gold-rule"}),u.jsx("h2",{className:"section-heading",children:e}),u.jsx("span",{className:"section-heading-arabic",children:t})]})}function js(){return u.jsxs("div",{className:"min-h-screen flex flex-col",children:[u.jsx(Gh,{}),u.jsxs("section",{className:"relative bg-brand-navy overflow-hidden",style:{backgroundImage:"url('/hero-family-offices.jpg')",backgroundSize:"cover",backgroundPosition:"center top"},children:[u.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-brand-navy/95 via-brand-navy/80 to-brand-navy/50"}),u.jsx("div",{className:"absolute top-0 left-0 right-0 h-0.5 bg-brand-gold"}),u.jsxs("div",{className:"relative section-container py-16 lg:py-24",children:[u.jsxs("nav",{className:"flex items-center gap-2 mb-8 text-white/50 text-sm font-inter","aria-label":"Breadcrumb",children:[u.jsx("a",{href:"/",className:"hover:text-brand-gold transition-colors",children:"Home"}),u.jsx(si,{size:14}),u.jsx("a",{href:"/clients",className:"hover:text-brand-gold transition-colors",children:"Clients"}),u.jsx(si,{size:14}),u.jsx("span",{className:"text-brand-gold font-medium",children:"Family Offices"})]}),u.jsxs("div",{className:"max-w-3xl",children:[u.jsx("div",{className:"gold-rule mb-0"}),u.jsxs("h1",{className:"mt-6 text-4xl lg:text-5xl font-bold text-white font-inter leading-tight tracking-tight",children:["Family Offices",u.jsx("br",{}),u.jsx("span",{className:"text-brand-gold font-tajawal text-3xl lg:text-4xl font-bold",children:"مكاتب العائلات"})]}),u.jsx("p",{className:"mt-5 text-lg lg:text-xl text-white/90 font-inter font-light leading-relaxed",children:"Your Preferred Partner for Family Offices in the GCC"}),u.jsx("p",{className:"mt-1 text-base text-brand-gold/80 font-tajawal arabic-text",children:"شريككم المفضّل لمكاتب العائلات في دول مجلس التعاون الخليجي"}),u.jsxs("div",{className:"mt-8 bg-white/5 border border-white/15 rounded-sm p-5 backdrop-blur-sm",children:[u.jsxs("p",{className:"text-white/70 text-xs leading-relaxed font-inter",children:[u.jsx("strong",{className:"text-white/90",children:"Regulatory Notice:"})," ","Almanza Investment Company KSCC is a Kuwaiti Shareholding Company, incorporated in the State of Kuwait in 1998. Licensed by the"," ",u.jsx("strong",{className:"text-brand-gold",children:"Capital Markets Authority (CMA) of Kuwait"})," ","(License No. CMA/001) and regulated by the"," ",u.jsx("strong",{className:"text-brand-gold",children:"Central Bank of Kuwait (CBK)"})," ","where applicable, in accordance with the Kuwait Ministry of Commerce and Industry. All family office services are"," ",u.jsx("strong",{className:"text-brand-gold",children:"Shari'a-compliant"}),"."]}),u.jsxs("div",{className:"mt-3 flex flex-wrap gap-2",children:[u.jsx("span",{className:"reg-badge border-white/40 text-white/60 text-[10px]",children:"CMA Kuwait"}),u.jsx("span",{className:"reg-badge border-white/40 text-white/60 text-[10px]",children:"CBK Regulated"}),u.jsx("span",{className:"reg-badge border-white/40 text-white/60 text-[10px]",children:"Shari'a Compliant"}),u.jsx("span",{className:"reg-badge border-white/40 text-white/60 text-[10px]",children:"Est. 1998"})]})]})]})]})]}),u.jsx("section",{className:"bg-brand-bg border-b border-gray-100",children:u.jsxs("div",{className:"section-container py-12",children:[u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 divide-y sm:divide-y-0 sm:divide-x divide-gray-200 border border-gray-200 rounded-sm overflow-hidden bg-white shadow-card-soft",children:[{value:"$12B",label:"Family Office AUM",ar:"الأصول تحت الإدارة"},{value:"25+",label:"Family Office Clients",ar:"عملاء مكاتب العائلات"},{value:"15+",label:"Average Client Tenure (Years)",ar:"متوسط فترة تعامل العميل"}].map(e=>u.jsxs("div",{className:"metric-block",children:[u.jsx("div",{className:"metric-value",children:e.value}),u.jsx("div",{className:"metric-label",children:e.label}),u.jsx("div",{className:"text-xs text-brand-gold font-tajawal mt-1",children:e.ar})]},e.label))}),u.jsxs("div",{className:"mt-10 grid grid-cols-1 lg:grid-cols-3 gap-8 items-start",children:[u.jsxs("div",{className:"lg:col-span-2",children:[u.jsx(We,{en:"Segment Overview",ar:"نظرة عامة على القطاع"}),u.jsx("p",{className:"text-brand-text-secondary text-sm leading-relaxed mt-5 font-inter",children:"Almanza Investment Company KSCC serves over 25 family offices across the GCC, providing comprehensive multi-generational wealth management, family governance, succession planning, and family advisory services. Incorporated in Kuwait in 1998 and operating for over two decades, our family office solutions are engineered for long-term legacy preservation, Shari'a compliance, and the unique dynamics of Gulf-based ultra-high-net-worth families."}),u.jsx("p",{className:"text-brand-text-secondary text-sm leading-relaxed mt-3 font-tajawal arabic-text text-right",children:"تخدم شركة ألمانزا للاستثمار ما يزيد على 25 مكتباً عائلياً في دول مجلس التعاون الخليجي، مقدِّمةً خدمات متكاملة لإدارة الثروات عبر الأجيال، وحوكمة العائلة، والتخطيط للخلافة، والاستشارات العائلية المتخصصة."})]}),u.jsxs("div",{className:"bg-white border border-gray-100 rounded-sm p-6 shadow-card-soft",children:[u.jsx("h3",{className:"text-xs font-bold text-brand-navy uppercase tracking-widest mb-4 font-inter",children:"Corporate Structure"}),u.jsx("ul",{className:"space-y-3",children:[{label:"Type",value:"Kuwaiti Shareholding Company (KSCC)"},{label:"Established",value:"1998, State of Kuwait"},{label:"Regulator",value:"CMA Kuwait / CBK"},{label:"Shari'a Board",value:"Internal Supervisory Board"},{label:"Focus Region",value:"GCC – 6 Countries"}].map(e=>u.jsxs("li",{className:"flex justify-between items-start gap-2 pb-3 border-b border-gray-100 last:border-0 last:pb-0",children:[u.jsx("span",{className:"text-xs text-brand-text-secondary font-inter",children:e.label}),u.jsx("span",{className:"text-xs text-brand-navy font-semibold font-inter text-right",children:e.value})]},e.label))})]})]})]})}),u.jsx("section",{className:"bg-white border-b border-gray-100",children:u.jsxs("div",{className:"section-container py-14",children:[u.jsx(We,{en:"Family Office Services",ar:"خدمات مكاتب العائلات"}),u.jsx("div",{className:"mt-8 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-5",children:[{icon:Ss,title:"Wealth Management",ar:"إدارة الثروات",desc:"Customised portfolios spanning listed equities, sukuk, private equity, alternatives, and GCC real estate — structured for capital preservation and long-term growth."},{icon:Ns,title:"Family Governance",ar:"حوكمة العائلة",desc:"Family constitutions, family council structures, decision-making frameworks, and professional conflict resolution to protect family unity across generations."},{icon:Lr,title:"Succession Planning",ar:"التخطيط للخلافة",desc:"Shari'a-compliant wealth transfer structures, next-generation preparation, and legally robust succession instruments including Wasiyya and family holding entities."},{icon:$h,title:"Family Advisory",ar:"الاستشارات العائلية",desc:"Philanthropic advisory through Waqf structures, educational and lifestyle planning, and bespoke advisory for family members across generations."}].map(e=>u.jsxs("div",{className:"service-card",children:[u.jsx(di,{icon:e.icon}),u.jsx("h3",{className:"text-base font-bold text-brand-navy font-inter mb-1",children:e.title}),u.jsx("div",{className:"text-xs text-brand-gold font-tajawal mb-3",children:e.ar}),u.jsx("p",{className:"text-sm text-brand-text-secondary font-inter leading-relaxed",children:e.desc})]},e.title))})]})}),u.jsx("section",{className:"bg-brand-bg border-b border-gray-100",children:u.jsxs("div",{className:"section-container py-14",children:[u.jsx(We,{en:"Investment Philosophy",ar:"فلسفة الاستثمار"}),u.jsx("div",{className:"mt-8 grid grid-cols-1 lg:grid-cols-3 gap-6",children:[{icon:ci,title:"Capital Preservation",ar:"الحفاظ على رأس المال",desc:"We prioritise the protection of real wealth across market cycles, employing rigorous risk management, downside hedging, and portfolio diversification to safeguard the family's core capital for future generations.",num:"01"},{icon:Kh,title:"Sustainable Growth",ar:"النمو المستدام",desc:"Long-term, risk-aware return generation aligned with each family's unique goals — not short-term performance metrics. Our investment horizon mirrors the multi-generational perspective of our clients.",num:"02"},{icon:ui,title:"Shari'a Compliance",ar:"الامتثال للشريعة الإسلامية",desc:"All portfolios and structures are designed to be fully Shari'a-compliant, with continuous monitoring by our internal Shari'a Supervisory Board and annual compliance certification.",num:"03"}].map(e=>u.jsxs("div",{className:"pillar-card relative",children:[u.jsx("div",{className:"absolute top-5 right-5 text-4xl font-black text-brand-navy/5 font-inter select-none",children:e.num}),u.jsx(di,{icon:e.icon}),u.jsx("h3",{className:"text-base font-bold text-brand-navy font-inter mb-1",children:e.title}),u.jsx("div",{className:"text-xs text-brand-gold font-tajawal mb-3",children:e.ar}),u.jsx("p",{className:"text-sm text-brand-text-secondary font-inter leading-relaxed",children:e.desc})]},e.title))})]})}),u.jsx("section",{className:"bg-white gold-top-border border-b border-gray-100",children:u.jsx("div",{className:"section-container py-14",children:u.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-10 items-start",children:[u.jsxs("div",{children:[u.jsx(We,{en:"Shari'a-Compliant Family Office Framework",ar:"إطار مكتب العائلة المتوافق مع أحكام الشريعة الإسلامية"}),u.jsxs("p",{className:"text-sm text-brand-text-secondary font-inter leading-relaxed mt-5",children:["All Almanza family office solutions are structured in accordance with Islamic principles, overseen by our internal"," ",u.jsx("strong",{className:"text-brand-navy",children:"Shari'a Supervisory Board"}),". We utilise Shari'a-compliant legal and financial structures for estate planning, charitable giving, and intergenerational wealth transfer — including"," ",u.jsx("strong",{className:"text-brand-navy",children:"Wasiyya"})," (Islamic bequest),"," ",u.jsx("strong",{className:"text-brand-navy",children:"Waqf"})," (Islamic endowment), and Shari'a-compliant holding structures."]}),u.jsx("p",{className:"text-sm text-brand-text-secondary font-tajawal arabic-text text-right mt-3 leading-relaxed",children:"تستند جميع حلول مكاتب العائلات في ألمانزا إلى أحكام الشريعة الإسلامية، وتخضع لإشراف مستمر من هيئة الرقابة الشرعية الداخلية. نستخدم أدوات قانونية ومالية متوافقة مع الشريعة للتخطيط للتركة والعطاء الخيري وانتقال الثروة بين الأجيال."}),u.jsxs("div",{className:"mt-8 flex flex-wrap gap-2",children:[u.jsx("span",{className:"reg-badge",children:"Shari'a Supervisory Board"}),u.jsx("span",{className:"reg-badge",children:"Wasiyya / Waqf Structures"}),u.jsx("span",{className:"reg-badge",children:"Annual Compliance Certificate"}),u.jsx("span",{className:"reg-badge",children:"Sukuk-Only Fixed Income"})]})]}),u.jsxs("div",{className:"bg-brand-bg border border-gray-200 rounded-sm p-7",children:[u.jsx("h4",{className:"text-xs font-bold text-brand-navy uppercase tracking-widest font-inter mb-5",children:"Shari'a Screening Process / منهجية الفرز الشرعي"}),u.jsx("ul",{className:"space-y-4",children:[{icon:ci,text:"Full screening of all investments for Shari'a compliance prior to inclusion in any family portfolio.",ar:"الفرز الشامل لجميع الاستثمارات قبل إدراجها في أي محفظة عائلية."},{icon:ui,text:"Strict prohibition of interest-based (riba) instruments, speculative derivatives, and impermissible sectors.",ar:"الحظر الصارم على الأدوات الربوية والمشتقات المضاربية والقطاعات المحظورة."},{icon:Lr,text:"Shari'a-compliant inheritance, succession planning, and estate transfer using Wasiyya and Waqf structures.",ar:"تخطيط للميراث والخلافة ونقل التركة بما يتوافق مع الشريعة عبر الوصية والوقف."},{icon:Fh,text:"Annual Shari'a compliance certificate issued for each family office engagement.",ar:"شهادة امتثال شرعية سنوية تُصدر لكل مكتب عائلة."}].map((e,t)=>u.jsxs("li",{className:"flex gap-4 items-start pb-4 border-b border-gray-100 last:border-0 last:pb-0",children:[u.jsx("div",{className:"w-8 h-8 rounded-sm bg-brand-gold/10 flex items-center justify-center flex-shrink-0 mt-0.5",children:u.jsx(e.icon,{size:15,className:"text-brand-gold"})}),u.jsxs("div",{children:[u.jsx("p",{className:"text-sm text-brand-text font-inter leading-relaxed",children:e.text}),u.jsx("p",{className:"text-xs text-brand-text-secondary font-tajawal arabic-text mt-1 leading-relaxed",children:e.ar})]})]},t))})]})]})})}),u.jsx("section",{className:"bg-brand-bg border-b border-gray-100",children:u.jsxs("div",{className:"section-container py-14",children:[u.jsx(We,{en:"Our Success Stories",ar:"قصص نجاحنا"}),u.jsx("p",{className:"text-sm text-brand-text-secondary font-inter mt-4 max-w-2xl",children:"Al Amal's track record in family office advisory reflects decades of client trust, structural complexity, and Shari'a-compliant innovation across the GCC."}),u.jsx("div",{className:"mt-8 grid grid-cols-1 sm:grid-cols-3 gap-5",children:[{value:"20+",label:"Multi-Generational Families Served",ar:"عائلة متعددة الأجيال",icon:Lr,desc:"Families whose wealth management relationship with Almanza spans two or more generations."},{value:"50+",label:"Succession Plans Completed",ar:"خطة خلافة مُنجزة",icon:Cs,desc:"Formally documented and legally implemented family succession frameworks across GCC jurisdictions."},{value:"15+",label:"Waqf Structures Established",ar:"هيكل وقف مُنشأ",icon:Ns,desc:"Islamic endowment (Waqf) vehicles established for family philanthropy and legacy preservation."}].map(e=>u.jsxs("div",{className:"bg-white border border-gray-100 rounded-sm p-6 shadow-card-soft",children:[u.jsxs("div",{className:"flex items-start justify-between mb-4",children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-3xl font-black text-brand-navy font-inter",children:e.value}),u.jsx("div",{className:"text-xs font-semibold text-brand-text-secondary uppercase tracking-wider mt-1 font-inter",children:e.label}),u.jsx("div",{className:"text-xs text-brand-gold font-tajawal mt-0.5",children:e.ar})]}),u.jsx("div",{className:"w-10 h-10 bg-brand-gold/10 rounded-sm flex items-center justify-center flex-shrink-0",children:u.jsx(e.icon,{size:18,className:"text-brand-gold"})})]}),u.jsx("p",{className:"text-xs text-brand-text-secondary font-inter leading-relaxed border-t border-gray-100 pt-4",children:e.desc})]},e.label))})]})}),u.jsx("section",{className:"bg-white border-b border-gray-100",children:u.jsxs("div",{className:"section-container py-14",children:[u.jsx(We,{en:"Core Values",ar:"القيم الأساسية"}),u.jsx("div",{className:"mt-8 grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-4",children:[{en:"Work & Spread Knowledge",ar:"العمل ونشر المعرفة",icon:Ah,desc:"We invest in the continuous development of expertise and share knowledge to elevate outcomes for our clients and communities."},{en:"Persevere",ar:"المثابرة",icon:Hh,desc:"Unwavering commitment to our mandates through market cycles, regulatory changes, and evolving client needs."},{en:"Act with Integrity",ar:"العمل بنزاهة",icon:ci,desc:"Transparent and honest conduct in every client relationship, investment decision, and regulatory interaction."},{en:"Maintain Ethics",ar:"الحفاظ على الأخلاق",icon:ui,desc:"Adherence to the highest standards of professional ethics, Shari'a principles, and fiduciary duty."},{en:"Invest in People",ar:"الاستثمار في الأشخاص",icon:Lr,desc:"Our team is our most critical asset — we invest substantially in talent, succession, and institutional knowledge."}].map(e=>u.jsxs("div",{className:"core-value-card",children:[u.jsx("div",{className:"w-10 h-10 bg-brand-gold/10 border border-brand-gold/30 rounded-sm flex items-center justify-center mx-auto mb-4",children:u.jsx(e.icon,{size:18,className:"text-brand-gold"})}),u.jsx("h3",{className:"text-sm font-bold text-brand-navy font-inter leading-tight",children:e.en}),u.jsx("div",{className:"text-xs font-bold text-brand-gold font-tajawal mt-1 mb-3",children:e.ar}),u.jsx("p",{className:"text-xs text-brand-text-secondary font-inter leading-relaxed",children:e.desc})]},e.en))})]})}),u.jsx("section",{className:"bg-brand-bg border-b border-gray-100",children:u.jsxs("div",{className:"section-container py-14",children:[u.jsx(We,{en:"Client Commitment",ar:"التزامنا تجاه العملاء"}),u.jsx("div",{className:"mt-8 grid grid-cols-1 lg:grid-cols-3 gap-6",children:[{icon:Wh,title:"Confidentiality",ar:"السرية التامة",desc:"Absolute discretion is the foundation of every family office engagement. All client information, family structures, and financial data are protected under the strictest confidentiality protocols in accordance with Kuwaiti law and our internal governance framework.",badge:"Non-Disclosure Standard"},{icon:Bh,title:"Alignment of Interests",ar:"توافق المصالح",desc:"We co-invest alongside our family office clients in selected mandates, ensuring our financial interests are directly aligned with the preservation and growth of family wealth — not with transaction volume or short-term fees.",badge:"Co-Investment Model"},{icon:Dh,title:"Legacy Focus",ar:"التركيز على الإرث",desc:"Our investment horizon mirrors the multi-generational perspective of our clients. We evaluate outcomes across decades, not quarters — measuring success by the strength and continuity of the family legacy we help to build and protect.",badge:"Multi-Generational Horizon"}].map(e=>u.jsxs("div",{className:"bg-white border border-gray-100 rounded-sm p-7 shadow-card-soft",children:[u.jsx(di,{icon:e.icon}),u.jsx("h3",{className:"text-base font-bold text-brand-navy font-inter mb-1",children:e.title}),u.jsx("div",{className:"text-xs text-brand-gold font-tajawal mb-4",children:e.ar}),u.jsx("p",{className:"text-sm text-brand-text-secondary font-inter leading-relaxed",children:e.desc}),u.jsx("div",{className:"mt-5 pt-4 border-t border-gray-100",children:u.jsx("span",{className:"reg-badge text-[10px]",children:e.badge})})]},e.title))})]})}),u.jsx("section",{className:"bg-white border-b border-gray-100",children:u.jsxs("div",{className:"section-container py-14",children:[u.jsx(We,{en:"Geographic Reach",ar:"النطاق الجغرافي"}),u.jsxs("div",{className:"mt-8 grid grid-cols-1 lg:grid-cols-2 gap-10 items-center",children:[u.jsx("div",{className:"bg-brand-bg border border-gray-200 rounded-sm overflow-hidden p-4",children:u.jsx(Xh,{})}),u.jsxs("div",{children:[u.jsx("p",{className:"text-sm text-brand-text-secondary font-inter leading-relaxed mb-6",children:"Almanza maintains active family office advisory coverage across all six GCC member states, with our principal office and regulatory headquarters in Kuwait City. Our regional presence enables us to navigate the unique legal, regulatory, and cultural frameworks governing family wealth in each jurisdiction."}),u.jsx("p",{className:"text-sm text-brand-text-secondary font-tajawal arabic-text text-right mb-6 leading-relaxed",children:"تحافظ ألمانزا على تغطية نشطة لاستشارات مكاتب العائلات في جميع دول مجلس التعاون الخليجي الست، مع مقرنا الرئيسي في مدينة الكويت."}),u.jsx("div",{className:"space-y-0",children:[{country:"Kuwait",ar:"الكويت",note:"Headquarters / CMA Licensed",hq:!0},{country:"Saudi Arabia",ar:"المملكة العربية السعودية",note:"GCC Coverage",hq:!1},{country:"United Arab Emirates",ar:"الإمارات العربية المتحدة",note:"GCC Coverage",hq:!1},{country:"Qatar",ar:"قطر",note:"GCC Coverage",hq:!1},{country:"Sultanate of Oman",ar:"سلطنة عُمان",note:"GCC Coverage",hq:!1},{country:"Bahrain",ar:"البحرين",note:"GCC Coverage",hq:!1}].map(e=>u.jsxs("div",{className:"geo-item",children:[u.jsx("div",{className:`w-2.5 h-2.5 rounded-full flex-shrink-0 ${e.hq?"bg-brand-gold":"bg-brand-navy"}`}),u.jsxs("div",{className:"flex-1",children:[u.jsxs("div",{className:"flex items-center justify-between",children:[u.jsx("span",{className:"text-sm font-semibold text-brand-navy font-inter",children:e.country}),e.hq&&u.jsx("span",{className:"text-[10px] bg-brand-gold/15 text-brand-gold font-semibold px-2 py-0.5 rounded-sm font-inter uppercase tracking-wide",children:"HQ"})]}),u.jsxs("div",{className:"flex items-center justify-between",children:[u.jsx("span",{className:"text-xs text-brand-gold font-tajawal",children:e.ar}),u.jsx("span",{className:"text-xs text-brand-text-secondary font-inter",children:e.note})]})]})]},e.country))})]})]})]})}),u.jsx("section",{className:"bg-brand-bg border-b border-gray-100",children:u.jsxs("div",{className:"section-container py-14",children:[u.jsx(We,{en:"Related Content",ar:"محتوى ذو صلة"}),u.jsx("div",{className:"mt-8 grid grid-cols-1 sm:grid-cols-3 gap-5",children:[{icon:Ss,title:"Wealth Management",ar:"إدارة الثروات",desc:"Explore our comprehensive wealth management capabilities for family offices, including multi-asset portfolio construction, alternatives, and sukuk strategies.",link:"/services/wealth-management",tag:"Service"},{icon:Cs,title:"Estate Planning",ar:"التخطيط للتركة",desc:"Detailed guidance on Shari'a-compliant estate structuring, Wasiyya instruments, and cross-border succession frameworks for GCC families.",link:"/services/estate-planning",tag:"Service"},{icon:Uh,title:"Annual Report",ar:"التقرير السنوي",desc:"Access Al Amal's most recent Annual Report and Investor Relations disclosures, including audited financial statements and governance documentation.",link:"/investor-relations/annual-report",tag:"Investor Relations"}].map(e=>u.jsxs("a",{href:e.link,className:"related-card block",children:[u.jsxs("div",{className:"flex items-start justify-between mb-4",children:[u.jsx("div",{className:"w-10 h-10 bg-brand-gold/10 border border-brand-gold/20 rounded-sm flex items-center justify-center",children:u.jsx(e.icon,{size:18,className:"text-brand-gold"})}),u.jsx("span",{className:"text-[10px] text-brand-text-secondary border border-gray-200 px-2 py-0.5 rounded-sm font-inter uppercase tracking-wide",children:e.tag})]}),u.jsx("h3",{className:"text-base font-bold text-brand-navy font-inter mb-1 group-hover:text-brand-gold transition-colors",children:e.title}),u.jsx("div",{className:"text-xs text-brand-gold font-tajawal mb-3",children:e.ar}),u.jsx("p",{className:"text-sm text-brand-text-secondary font-inter leading-relaxed",children:e.desc}),u.jsxs("div",{className:"mt-5 flex items-center gap-1 text-brand-blue text-xs font-semibold font-inter",children:["View Details ",u.jsx(si,{size:13})]})]},e.title))})]})}),u.jsxs("section",{className:"bg-brand-navy relative overflow-hidden",children:[u.jsx("div",{className:"absolute top-0 left-0 right-0 h-0.5 bg-brand-gold"}),u.jsx("div",{className:"absolute inset-0 opacity-[0.04]",style:{backgroundImage:"repeating-linear-gradient(45deg, #C6A142 0, #C6A142 1px, transparent 0, transparent 50%)",backgroundSize:"24px 24px"}}),u.jsxs("div",{className:"relative section-container py-16 lg:py-20 text-center",children:[u.jsx("div",{className:"gold-rule mx-auto mb-0"}),u.jsx("h2",{className:"mt-6 text-3xl lg:text-4xl font-bold text-white font-inter tracking-tight",children:"Become a Partner"}),u.jsx("div",{className:"text-xl font-bold text-brand-gold font-tajawal mt-2",children:"كن شريكنا"}),u.jsx("p",{className:"mt-5 text-white/70 text-base font-inter max-w-xl mx-auto leading-relaxed",children:"Join the families who trust Almanza Investment Company with their legacy. Our family office advisory team is available for confidential conversations by appointment."}),u.jsx("p",{className:"mt-2 text-white/60 text-sm font-tajawal arabic-text max-w-xl mx-auto leading-relaxed",children:"انضم إلى العائلات التي تثق في ألمانزا للاستثمار للحفاظ على إرثها. فريقنا متاح للمحادثات السرية بالمواعيد المسبقة."}),u.jsxs("div",{className:"mt-8 flex flex-col sm:flex-row items-center justify-center gap-4",children:[u.jsx("a",{href:"/contact/schedule-consultation",className:"btn-gold",children:"Schedule a Consultation →"}),u.jsx("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-3.5 border border-white/30 text-white text-sm font-semibold tracking-wide uppercase rounded-sm hover:border-brand-gold hover:text-brand-gold transition-all duration-200",children:"Contact Our Team"})]}),u.jsx("p",{className:"mt-10 text-white/30 text-xs font-inter max-w-lg mx-auto",children:"Almanza Investment Company KSCC · Licensed by CMA Kuwait · Regulated by CBK · Shari'a Compliant · Est. 1998, State of Kuwait"})]})]}),u.jsx(Yh,{})]})}function Zh(){return u.jsx("div",{className:"min-h-screen flex items-center justify-center bg-brand-bg",children:u.jsxs("div",{className:"text-center",children:[u.jsx("h1",{className:"text-4xl font-bold text-brand-navy font-inter mb-4",children:"404"}),u.jsx("p",{className:"text-brand-text-secondary mb-8",children:"Page not found."}),u.jsx(Jc,{to:"/",className:"btn-gold",children:"Return to Home"})]})})}function Jh(){return u.jsx(Lh,{children:u.jsxs(Sh,{children:[u.jsx(Wr,{path:"/",element:u.jsx(js,{})}),u.jsx(Wr,{path:"/clients/family-offices",element:u.jsx(js,{})}),u.jsx(Wr,{path:"*",element:u.jsx(Zh,{})})]})})}Dc(document.getElementById("root")).render(u.jsx(C.StrictMode,{children:u.jsx(Jh,{})}));